package com.xinzhi.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/*
返回结果
 */
@Data
public class PageResul {
    //总条数
    private Long tatal;
    //查询结果
    List<Rental>rentals;
    public PageResul(){

    }
    public PageResul(Long tatal,List<Rental>rentals){
    this.tatal=tatal;
    this.rentals=rentals;
    }

}
